package com.cogent.dao.sql;

import java.util.HashMap;
import java.util.List;

import com.cogent.dao.domain.ParamDomain;
import com.cogent.dao.domain.QueryParamDomain;
import com.cogent.dao.domain.SqlDomain;

public interface ISqlBuilder {
	
	public SqlDomain insertSql(String tableName, HashMap valMap);
	
	public SqlDomain updateSql(String tableName, HashMap valMap, String id);
	
	public SqlDomain updateSql(String tableName, HashMap valMap);
	
	public SqlDomain insertOrUpdateSql(String tableName, HashMap valMap);
	
	public SqlDomain querySql(String tableName, List<QueryParamDomain> valList);
	
	public SqlDomain queryWithPrefixSql(String prefixSql, List<QueryParamDomain> valList);
	
	public SqlDomain deleteSql(String tableName, List<QueryParamDomain> valList);
	
	public List<ParamDomain> getParamList(List<QueryParamDomain> paramList);
	
}
